package org.mics.organization.service;

import org.mics.core.page.PageQuery;
import org.mics.core.response.PageDataResponse;
import org.mics.organization.request.StaffRequest;
import org.mics.organization.vo.StaffVO;

/**
 * 员工
 * @author mics
 * @date 2023-10-9
 * @version  1.0
 */
public interface StaffService {
	
	/**
	 * 增加/修改员工
	 * @author mics
	 * @date 2023-10-9
	 * @version  1.0
	 * @param staffRequest  增加/修改员工信息
	 * @return 员工id
	 */
	String add(StaffRequest staffRequest);

	/**
	 * 删除员工信息
	 * @author mics
	 * @date 2023-10-9
	 * @version  1.0
	 * @param id 员工id
	 */
	void delete(String id);

	/**
	 * 员工分页列表
	 * @author mics
	 * @date 2023-10-9
	 * @version  1.0
	 * @param pageQuery
	 * @return 员工分页数据
	 */
	PageDataResponse<StaffVO> listByPage(PageQuery pageQuery);

}
